<div style='width: 300px; margin: 0 auto;'><h4>Awaiting Payment</h4>
<?
  $msg = "To pay the amount of <b>".$this->amount." BTC</b> to:<br><strong>".$this->input_address."</strong><br><br>";
?>
<?= $msg ?>
<center><img src="/img/ajax-loader3.GIF"></center></div>

<script>
  function checkPayment()
  {
   $.ajax({
     url: "/cart/check-bulk-credit",
  	 dataType : 'json',
  	 success : function (data) {

	 if (data.success)
       location.href="/cart/success";
  	 }
   })
  }

  setInterval(checkPayment, 1000);
</script>
